package com.example.listossimage.aop;

import org.springframework.stereotype.Service;

@Service
public class BlogService {

    @LogInfo("获取博客")
    public String getBlog() {
        return "Blog info";
    }

    @LogInfo("添加博客")
    public Boolean addBlog(String blog) {
        System.out.println(blog);
        return true;
    }

}
